package com.jic.market.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author xuyongliang
 * @version V1.0
 * @className GrouponProductExcelBO
 * @description 拼团商品
 * @date 2020/3/20
 */


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GrouponProductExcelBO extends BaseRowModel {

    /**
     * value: 表头名称
     * index: 列的号, 0表示第一列
     */
    @ExcelProperty(value = "商品编码", index = 0)
    private String thirdGoodsNo;

    @ExcelProperty(value = "商品名称",index = 1)
    private String goodsName;

    @ExcelProperty(value = "商品分类",index = 2)
    private String goodsCategory;

    @ExcelProperty(value = "库存",index = 3)
    private Integer stock;

    @ExcelProperty(value = "团购价",index = 4)
    private BigDecimal grouponPrice;

    @ExcelProperty(value = "商家单渠道限购",index = 5)
    private String channelMerchantLimit;

    @ExcelProperty(value = "店铺单渠道限购",index = 6)
    private String channelStoreLimit;

    @ExcelProperty(value = "个人限购",index = 7)
    private String individualLimit;

    @ExcelProperty(value = "订单限购",index = 8)
    private String orderLimit;


}
